package aod.android.com.bernay.fixing.activity;

import android.widget.TextView;

import com.google.gson.Gson;

import java.io.IOException;

import aod.android.com.bernay.R;
import aod.android.com.bernay.base.BernayBaseActivity;
import aod.android.com.bernay.fixing.bean.FixingDatabean;
import aod.android.com.bernay.http.BernayApi;
import aod.android.com.bernay.http.BernayCallback;
import chen.lion.hilib.view.bind.HiView;

public class FixinOpenActivity extends BernayBaseActivity {
    @HiView(R.id.open_tv)
    private TextView mTypeTv;
    private int i;
    @Override
    protected int initLayout() {
        return R.layout.activity_fixin_open;
    }

    @Override
    protected void initData() {
        i = getIntent().getIntExtra("isOpen",1);
        if(i == 0){
            mTypeTv.setText("云台关闭中");
            initTitle("云台关闭中");
        }else{
            mTypeTv.setText("云台开启中");
            initTitle("云台开启中");
        }
    }

    private void closeFixing() {


    }
}
